Masteriyo\Addons\Stripe\StripeAddon A

Total Complexity 71
Dependencies 13
Dependents 0
Total lines 568
Lines of code 329
Logical lines of code 161
Comment lines 160
Methods 20
Properties 1

Methods 20

Method Rating Maintainability Complexity Lines of code
handle_webhook()
A
40 13 61
save_setting()
A
47 13 40
save_stripe_data()
A
50 9 28
load_localized_scripts()
A
51 9 25
create_payment_intent()
S
46 4 39
handle_payment_intent_webhook()
S
52 4 25
load_scripts()
S
53 3 24
map_stripe_events_to_order_status()
S
59 2 14
get_zero_decimal_currencies()
S
57 1 20
instance()
S
71 2 6
convert_cart_total_to_stripe_amount()
S
63 2 10
init_hooks()
S
59 1 13
enqueue_scripts()
S
80 1 3
append_setting_in_response()
S
74 1 4
localize_admin_scripts()
S
74 1 4
add_payment_gateway()
S
77 1 4
init()
S
82 1 3
__wakeup()
S
91 1 2
__clone()
S
91 1 2
__construct()
S
91 1 2